package com.lovo.homeWork;

/**
 * 税务局
 */
public class TaxBureau {

    //业务
    private String business;

    public TaxBureau(){

    }

    public TaxBureau(String business) {
        this.business = business;
    }

    public void taxCollection(TaxBureau taxBureau, Merchant merchant, Tax tax){
        System.out.println("商户" + merchant.getName() + "到税务局" + taxBureau.getBusiness() + tax.getName());
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }
}
